package com.ukit.todolist_xml.RoomRepository

import androidx.room.Entity
import androidx.room.PrimaryKey
import java.time.LocalDateTime

@Entity(tableName = "todo_items")
data class ToDoItem(
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0L,
    val info: String,
    val date: LocalDateTime = LocalDateTime.now()!!,
    var completed: Boolean = false
)
